package o;

import android.view.View;
import androidx.core.view.ViewCompat;

public class ard {
    private int ˊ;
    private int ˋ;
    private final View ˎ;
    private int ˏ;
    private int ॱ;

    public ard(View view) {
        this.ˎ = view;
    }

    public void ˏ() {
        this.ˊ = this.ˎ.getTop();
        this.ˏ = this.ˎ.getLeft();
        ˎ();
    }

    private void ˎ() {
        ViewCompat.ʽ(this.ˎ, this.ॱ - (this.ˎ.getTop() - this.ˊ));
        ViewCompat.ॱॱ(this.ˎ, this.ˋ - (this.ˎ.getLeft() - this.ˏ));
    }

    public boolean ˎ(int i) {
        if (this.ॱ == i) {
            return false;
        }
        this.ॱ = i;
        ˎ();
        return true;
    }

    public boolean ˏ(int i) {
        if (this.ˋ == i) {
            return false;
        }
        this.ˋ = i;
        ˎ();
        return true;
    }

    public int ˋ() {
        return this.ॱ;
    }

    public int ˊ() {
        return this.ˊ;
    }
}
